package MediatorPattern;

import java.util.Date;

/**
 * @version: java version 1.8
 * @Author: Zheng
 * @description:
 * @date: 2022-08-21 20:50
 */
public class ChatRoom {
    public static void showMessage(User user,String message){
        System.out.println(new Date().toString()+"["+user.getName()+"]"+message);
    }
}
